package com.aspose.cells;

public class NegativeBarFormat {
   private zakp a;
   private int b;
   private zakp c;
   private int d;
   private Workbook e;

   NegativeBarFormat(DataBar databar) {
      this.e = databar.c;
      zakp var2 = new zakp(false);
      var2.a(2, 0);
      this.a = var2;
      this.b = 1;
      zakp var3 = new zakp(false);
      var3.a(2, 16711680);
      this.c = var3;
      this.d = 1;
   }

   void a(NegativeBarFormat var1) {
      this.e = var1.e;
      this.a = var1.a;
      this.b = var1.b;
      this.c = var1.c;
      this.d = var1.d;
   }

   zakp a() {
      return this.a;
   }

   void a(zakp var1) {
      this.a = var1;
   }

   public Color getBorderColor() {
      return this.a.b(this.e);
   }

   public void setBorderColor(Color value) {
      this.a.a(2, value.toArgb());
   }

   public int getBorderColorType() {
      return this.b;
   }

   public void setBorderColorType(int value) {
      this.b = value;
   }

   zakp b() {
      return this.c;
   }

   void b(zakp var1) {
      this.c = var1;
   }

   public Color getColor() {
      return this.c.b(this.e);
   }

   public void setColor(Color value) {
      this.c.a(2, value.toArgb());
   }

   public int getColorType() {
      return this.d;
   }

   public void setColorType(int value) {
      this.d = value;
   }
}
